function setupBstirValues() {bstirFadeTitles[0] = "salsa and stilettos"; bstirFadeLinks[0] = "http://dazereejj.blogspot.com/2009/08/salsa-and-stilettos.html"; bstirFadeSnippets[0] = "Tue, 04 Au <br> wednesday night is latin dance class night. and,  so.. prior to wednesday night. i happily skip to the mall to do som..."; bstirFadeTitles[1] = "State of Mind: another chick flick?"; bstirFadeLinks[1] = "http://dazereejj.blogspot.com/2010/01/another-chick-flick.html"; bstirFadeSnippets[1] = "Mon, 25 Ja <br> I wanna feel the magic in the air. So, who's with me? ~I adore you. ps/ Patrick Dempsey yang hensem kan ada. Posted b..."; bstirFadeTitles[2] = "listening to life"; bstirFadeLinks[2] = "http://dazereejj.blogspot.com/2009/07/listening-to-life.html"; bstirFadeSnippets[2] = "Mon, 27 Ju <br> feeling the warmth of my breathe... the blood rushing to my cheeks... the tickle of perspiration down my forehead... ..."; bstirFadeTitles[3] = "mistaken identity"; bstirFadeLinks[3] = "http://dazereejj.blogspot.com/2009/06/mistaken-identity.html"; bstirFadeSnippets[3] = "Thu, 25 Ju <br> i'm blacklisted from the post for certain. guess i'm sentenced to be a teacher for life! to cut the crap short, i wen..."; bstirFadeTitles[4] = "i can fly!!!"; bstirFadeLinks[4] = "http://dazereejj.blogspot.com/2009/07/i-can-fly.html"; bstirFadeSnippets[4] = "Sat, 11 Ju <br> give me wings! the wings i specially ordered last june was finally ready for take off yesterday. after such a long dr..."; }

        var bstir_FadeOut = 255;
        var bstir_FadeIn=0;
        var bstir_Fade = 0;
        var bstir_FadeStep = 3;
        var bstir_FadeWait = 10000;
        var bstir_bFadeOut = true;
        var bstir_iFadeInterval;

        var bstirFadeLinks;
        var bstirFadeTitles;
        var bstirFadeSnippets;
        var bstirFadeCursor = 0;
        var bstirFadeMax;
        var bstirTitleElement;
        var bstirSnippetElement;

        function startBstir() {
          bstirTitleElement = document.getElementById("bstir_title");
          bstirSnippetElement = document.getElementById("bstir_snippet");
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
          bstirFadeLinks = new Array();
          bstirFadeTitles = new Array();
          bstirFadeSnippets = new Array();
          setupBstirValues();
          bstirFadeMax = bstirFadeLinks.length-1;
          setBstirItem();
        }

        function setBstirItem() {
          bstirTitleElement.innerHTML = bstirFadeTitles[bstirFadeCursor];
          bstirTitleElement.href = bstirFadeLinks[bstirFadeCursor];
          bstirSnippetElement.innerHTML = bstirFadeSnippets[bstirFadeCursor];
        }

        function showBstirItem() {
          if (bstir_bFadeOut) {
            bstir_Fade+=bstir_FadeStep;
            if (bstir_Fade>bstir_FadeOut) {
                  bstirNext();
            }
          } else {
            bstir_Fade-=bstir_FadeStep;
            if (bstir_Fade<bstir_FadeIn) {
              clearInterval(bstir_iFadeInterval);
              setTimeout(bstirResume, bstir_FadeWait);
              bstir_bFadeOut=true;
            }
          }
          if ((bstir_Fade<bstir_FadeOut)&&(bstir_Fade>bstir_FadeIn)){
            bstirTitleElement.style.color = "#" + bstirToHex(bstir_Fade);
            bstirSnippetElement.style.color = "#" + bstirToHex(bstir_Fade);
          }
        }

        function bstirResume() {
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
        }

        function bstirNext() {
                bstirFadeCursor++;
            if (bstirFadeCursor>bstirFadeMax)
              bstirFadeCursor=0;
            setBstirItem();
                bstir_bFadeOut = false;
        }

        function bstirToHex(strValue) {
          try {
            var result= (parseInt(strValue).toString(16));

            while (result.length !=2)
                    result= ("0" +result);
            result = result + result + result;
            return result.toUpperCase();
          }
          catch(e){}
        }

        startBstir();

        